<?php echo form_open('admin/upd_kelas'); ?>
<?php foreach ($kelas as $mhs): ?>
    <label>ID</label><input class="" type="text" name="id" value="<?php echo $mhs->id; ?>"readonly="readonly"/><br/>
    <label>KELAS</label><input class="" type="text" name="kelas" value="<?php echo $mhs->kelas; ?>"/><br/>
<?php endforeach; ?>
<?php echo form_submit('submit', 'UPDATE'); ?>
<?php echo form_close(); ?>